urltocmd/urltocmd.service

14 lines
258 B
SYSTEMD
Raw Normal View History

2024-02-03 11:13:20 +01:00
[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