1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=smartied smarthome server
Requires=network.target
#After=network-online.target
#Wants=network-online.target
[Service]
Environment=CONFIG_PATH=/etc/smartied.json
ExecStart=/usr/bin/smartied
Restart=on-failure
RestartSec=1
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target