publapi/examples/publapi.service

16 lines
296 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=API for the Project Segfault Pubnix
After=networking.target
[Service]
WorkingDirectory=/var/publapi
User=publapi
Group=publapi
EnvironmentFile=/var/publapi/publapi.env
ExecStart=/var/publapi/publapi
RestartSec=5
Restart=always
KillMode=mixed
[Install]
WantedBy=default.target