Systemd service
This commit is contained in:
13
systemd/aboba.service
Normal file
13
systemd/aboba.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Aboba website server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
User=root
|
||||
WorkingDirectory=/var/lib/aboba
|
||||
ExecStart=/usr/local/bin/aboba
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user