14 lines
258 B
Desktop File
14 lines
258 B
Desktop File
[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
|