Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

gdp / adm / gdp-rest.service.template @ master

History | View | Annotate | Download (425 Bytes)

1
[Unit]
2
Description=GDP REST gateway
3
Wants=lighttpd.service
4

    
5
[Service]
6
Type=notify
7
NotifyAccess=all
8
Environment=GDP_ROOT=@GDP_ROOT@
9
User=@GDP_USER@
10

    
11
# give router time to start up
12
ExecStart=/bin/sh @GDP_ROOT@/sbin/gdp-rest-wrapper.sh
13
Restart=always
14

    
15
StandardOutput=syslog
16
StandardError=inherit
17
SyslogIdentifier=gdp-rest
18
SyslogFacility=@GDP_SYSLOG_FACILITY@
19
SyslogLevel=@GDP_SYSLOG_LEVEL@
20

    
21
[Install]
22
WantedBy=multi-user.target