summarylogtreecommitdiffstats
path: root/lanraragi.service
blob: 1934dcbd3a9a45229b2893fd383edab5ec22d1ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=LANraragi Service
After=syslog.target network.target redis.service
Requires=redis.service

[Service]
User=lanraragi
Group=lanraragi
Environment=PERL5LIB="/usr/lib/lanraragi/perl5/lib/perl5:$PERL5LIB"
WorkingDirectory=/usr/lib/lanraragi
ExecStart=/usr/bin/perl /usr/lib/lanraragi/script/launcher.pl -f /usr/lib/lanraragi/script/lanraragi
Type=simple
TimeoutStopSec=20
SyslogIdentifier=lanraragi
KillMode=control-group

[Install]
WantedBy=multi-user.target