summarylogtreecommitdiffstats
path: root/epoptes-client.service
blob: 3284c5a63cade87c19357469f9ec34d7d347bd13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Epoptes-client system daemon
Wants=network-online.target
After=network-online.target

[Service]
EnvironmentFile=-/etc/default/epoptes-client
ExecStartPre=/bin/sh -c "[ -s /etc/epoptes/server.crt ] || /usr/sbin/epoptes-client -c ${SERVER}"
ExecStart=/usr/sbin/epoptes-client

[Install]
WantedBy=multi-user.target