summarylogtreecommitdiffstats
path: root/porla.service
blob: 84e7873aebdb26032b30a9eba3641fe15e04dced (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Be sure to use `systemctl edit porla` to modify this service with an override.conf because
# direct changes will be overwritten by package updates.
#
# A user per service w/ shared group setup would have an override like:
# [Service]
# Group=sharedgroupname
# UMask=002

[Unit]
Description=Porla Daemon
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=porla
Group=porla
SyslogIdentifier=porla
Environment=XDG_CONFIG_HOME=/etc
WorkingDirectory=/var/lib/porla
ExecStart=/usr/bin/porla --config-file=/etc/porla/config.toml --state-dir=/var/lib/porla
Restart=on-failure
RestartSec=5
KillMode=process

[Install]
WantedBy=multi-user.target