mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 21:46:27 +02:00
multi piston in progress
This commit is contained in:
parent
2934f8939b
commit
08d8329d3d
7 changed files with 80 additions and 7 deletions
13
var/piston@.service
Normal file
13
var/piston@.service
Normal file
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Piston API
|
||||
|
||||
[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 %i
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue