debmaker/ressources/claper/rootfs/DEBIAN/claper.service

20 lines
336 B
SYSTEMD
Raw Normal View History

2024-11-05 15:42:31 +01:00
[Unit]
Description=claper
[Service]
User=claper
Group=claper
EnvironmentFile=/etc/default/claper
ExecStart=/usr/bin/mix phx.server
WorkingDirectory=/opt/claper
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
Restart=on-failure
RestartSec=30s
ReadWritePaths=/opt/claper
[Install]
WantedBy=multi-user.target