blob: 09e7aa78a706c53debe4e5cb5ab46ffee93e325b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
[Unit]
Description="In-memory Dat to HTTP gateway"
After=network.target
[Service]
User=dat-gateway
Group=dat-gateway
#RuntimeDirectory=dat-gateway
#RuntimeDirectoryMode=0700
#WorkingDirectory=/run/dat-gateway
CacheDirectory=dat-gateway
ExecStart=/usr/bin/dat-gateway -d $CACHE_DIRECTORY
#Restart=on-failure
[Install]
WantedBy=multi-user.target
|