keyserver/jjakkekeyserver.service

18 lines
557 B
Desktop File

[Unit]
Description=jjakke's keyserver
After=network.target
[Service]
Type=simple
User=jjakkekeyserver
Group=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
LimitNOFILE=4096
[Install]
WantedBy=multi-user.target