First commit
This commit is contained in:
13
urltocmd.service
Normal file
13
urltocmd.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=A tiny web server launching local commands upon specific URLs being called
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
User=root
|
||||
ExecStart=/root/urltocmd/urltocmd
|
||||
WorkingDirectory=/root/urltocmd
|
||||
|
||||
[Install]
|
||||
WantedBy=mult-user.target
|
||||
Reference in New Issue
Block a user