Systemd service file WIP
This commit is contained in:
parent
adda00508e
commit
73507c3e7f
1 changed files with 14 additions and 0 deletions
14
beretta.service
Normal file
14
beretta.service
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Beretta Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/local/bin/beretta
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
User=beretta
|
||||
WorkingDirectory=/usr/local/bin
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue