piston/var/piston.service

14 lines
273 B
Desktop File

[Unit]
Description=Piston
[Service]
Type=simple
User=root
Environment=PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/go/bin
WorkingDirectory=/root/piston/api
ExecStart=/root/piston/api/start
Restart=on-failure
[Install]
WantedBy=multi-user.target