piston/var/systemd_prod_unit

14 lines
255 B
Plaintext
Raw Normal View History

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