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

20 lines
336 B
Desktop File

[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