diff options
author | Milan Pässler | 2019-01-20 19:00:09 +0000 |
---|---|---|
committer | Milan Pässler | 2019-01-20 19:00:46 +0000 |
commit | aa53720f5305b599e85486bde61783c9bf2e1a79 (patch) | |
tree | 27b5faeacac718fe376728f3e35f17cef23b506a /hopglass-server@.service | |
download | aur-aa53720f5305b599e85486bde61783c9bf2e1a79.tar.gz |
initial commit
Diffstat (limited to 'hopglass-server@.service')
-rw-r--r-- | hopglass-server@.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/hopglass-server@.service b/hopglass-server@.service new file mode 100644 index 000000000000..a5e6a0485946 --- /dev/null +++ b/hopglass-server@.service @@ -0,0 +1,14 @@ +[Unit] +Description=The HopGlass Server collects data from the Freifunk network (%I) + +[Service] +Type=simple +User=hopglass-server +Group=nobody +WorkingDirectory=/var/lib/hopglass-server/%I/ +ExecStart=/usr/bin/hopglass-server --config /etc/hopglass-server/%I/config.json +ExecStartPre=/usr/bin/mkdir -p /var/lib/hopglass-server/%I/ +Restart=always + +[Install] +WantedBy=multi-user.target |