~jan0sch/smederee

~jan0sch/smederee/modules/hub/src/universal/conf/smederee-hub.service.sample
 ..
0 [Unit]
1 Description=Smederee Hub Service - Software collaboration platform.
2 Requires=network.target
3
4 [Service]
5 Type=simple
6 WorkingDirectory=/usr/local/share/smederee-hub
7 EnvironmentFile=/etc/default/smederee-hub
8 ExecStart=/usr/local/share/smederee-hub/bin/hub
9 ExecReload=/bin/kill -HUP $MAINPID
10 Restart=always
11 RestartSec=60
12 SuccessExitStatus=
13 TimeoutStopSec=5
14 User=smederee
15 ExecStartPre=/bin/mkdir -p /run/hub
16 ExecStartPre=/bin/chown smederee:smederee /run/hub
17 ExecStartPre=/bin/chmod 755 /run/hub
18 PermissionsStartOnly=true
19 LimitNOFILE=1024
20
21 [Install]
22 WantedBy=multi-user.target