25 lines
523 B
Desktop File
25 lines
523 B
Desktop File
[Unit]
|
|
Description=EcoOS Daemon
|
|
After=network-online.target seatd.service systemd-networkd-wait-online.service
|
|
Wants=seatd.service network-online.target
|
|
Requires=seatd.service
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/opt/eco/bin/eco-daemon
|
|
Restart=always
|
|
RestartSec=5
|
|
WorkingDirectory=/opt/eco
|
|
|
|
# Give daemon enough capabilities
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SYS_ADMIN
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=eco-daemon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|