mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-03-09 15:50:00 +00:00
Add a service to do update after reboot
This commit is contained in:
parent
c64bed8db5
commit
3c6e85e07f
4 changed files with 27 additions and 3 deletions
14
omr-update.service.in
Normal file
14
omr-update.service.in
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=OMR Update
|
||||
After=network.target network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=no
|
||||
Environment="SOURCES=no"
|
||||
Environment="REINSTALL=no"
|
||||
Environment="LOCALFILES=yes"
|
||||
ExecStart=/usr/share/omr-server/debian9-x86_64.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue