2020-11-03 09:16:41 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Parsec Service
|
|
|
|
Documentation=https://parallaxsecond.github.io/parsec-book/parsec_service/install_parsec_linux.html
|
|
|
|
|
|
|
|
[Service]
|
2021-12-21 16:09:55 +01:00
|
|
|
# added automatically, for details please see
|
|
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
|
|
ProtectSystem=full
|
|
|
|
ProtectHome=true
|
|
|
|
ProtectHostname=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
ProtectKernelModules=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
|
|
|
# end of automatic additions
|
2020-11-03 09:16:41 +01:00
|
|
|
Type=notify
|
|
|
|
KillMode=process
|
|
|
|
Restart=on-failure
|
|
|
|
WorkingDirectory=/var/lib/parsec
|
|
|
|
ExecStart=/usr/libexec/parsec -c /etc/parsec/config.toml
|
|
|
|
User=parsec
|
|
|
|
Group=parsec
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|