Adding systemd units
This commit is contained in:
parent
fe5933c850
commit
aafdf0c9f5
4 changed files with 44 additions and 0 deletions
8
etc/systemd∕system/acmesh-reload.service
Normal file
8
etc/systemd∕system/acmesh-reload.service
Normal file
|
@ -0,0 +1,8 @@
|
|||
# This service cannot and should not be enabled directly.
|
||||
[Unit]
|
||||
Description=Reload NGINX on command from acme.sh
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/docker restart reverse_proxy
|
||||
ExecStart=/usr/bin/rm /root/data/acme.sh/.reload
|
||||
#ExecStart=/usr/bin/touch /root/amogus.txt
|
Loading…
Add table
Add a link
Reference in a new issue