-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Here's a startup script compatible with the new style of startup scripts of RedHat/CentOS since 7 and other modern distros.
Place the file in /etc/systemd/system/
File: /etc/systemd/system/hawkeye.service
[Unit]
Description=Hawkeye Webcam server
After=network.target systemd-udevd.service
[Service]
Type=simple
Environment=TERM=linux USER=apache LOGNAME=apache HOME=/var/lib/hawkeye
WorkingDirectory=/var/lib/hawkeye
ExecStart=/usr/bin/hawkeye -c /etc/hawkeye/hawkeye.conf
Restart=always
RestartSec=1
[Install]
WantedBy=multi-user.target
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels