keyserver/jjakkekeyserver.service

15 lines
530 B
Desktop File

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