16 lines
506 B
SYSTEMD
16 lines
506 B
SYSTEMD
|
[Unit]
|
||
|
Description=jjakke's keyserver
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=jjakkekeyserver
|
||
|
WorkingDirectory=/var/jjakkekeyserver/keyserver
|
||
|
ExecStart=/var/jjakkekeyserver/perl5/perlbrew/perls/perl-5.40.0/bin/hypnotoad -f /var/jjakkekeyserver/keyserver/keyserver
|
||
|
Environment=PERL5LIB=/var/jjakkekeyserver/perl5/lib/perl5
|
||
|
Environment=PATH=/var/jjakkekeyserver/perl5/perlbrew/bin:/var/jjakkekeyserver/perl5/perlbrew/perls/perl-5.40.0/bin:$PATH
|
||
|
Restart=always
|
||
|
RestartSec=5
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|