summarylogtreecommitdiffstats
path: root/lokinet-default-config.service
blob: aa2523263b09fc4c655c9b40316e64287d624d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Lokinet default config generator
ConditionPathExists=!/var/lib/lokinet/lokinet.ini
Wants=local-fs.target
After=local-fs.target

[Service]
Type=oneshot
User=lokinet
WorkingDirectory=/var/lib/lokinet
# at the time of writing it generates wrong paths when invoked without explicit path
ExecStart=/usr/bin/lokinet -g ./lokinet.ini