summarylogtreecommitdiffstats
path: root/skywire-dmsg.service
blob: 3d911ccc155691bafe3669d741fad703af612565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Skywire dmsg server
Wants=network-online.target

[Service]
Type=simple
ExecStartPre=/bin/bash -c '[[ ! -f /etc/skywire-dmsg.json ]] && skywire dmsg server config gen -o /etc/skywire-dmsg.json || true'
ExecStart=/bin/skywire dmsg server start /etc/skywire-dmsgd.conf
Restart=always
RestartSec=20
TimeoutSec=30

[Install]
WantedBy=multi-user.target