mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
update limits
This commit is contained in:
parent
af5a4f7cee
commit
548e69d3f3
2 changed files with 17 additions and 2 deletions
13
var/systemd_prod_unit
Normal file
13
var/systemd_prod_unit
Normal file
|
@ -0,0 +1,13 @@
|
|||
[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
|
Loading…
Add table
Add a link
Reference in a new issue