piston/var/piston.service

14 lines
273 B
SYSTEMD
Raw Normal View History

2018-09-21 19:05:55 +02:00
[Unit]
2019-05-31 20:09:47 +02:00
Description=Piston
2018-09-21 19:05:55 +02:00
[Service]
Type=simple
User=root
2019-05-31 20:09:47 +02:00
Environment=PATH=/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/go/bin
2018-09-21 19:05:55 +02:00
WorkingDirectory=/root/piston/api
2019-05-31 20:09:47 +02:00
ExecStart=/root/piston/api/start
2018-09-21 19:05:55 +02:00
Restart=on-failure
[Install]
WantedBy=multi-user.target