aboutsummaryrefslogtreecommitdiffgithub
path: root/toolbag/systemd/toolbag.service
blob: 5e0038ffa7c6024f2d098f3d0b2820624b8f309b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=toolbag

[Service]
Type=simple
User=www-data
WorkingDirectory=/usr/local/share/toolbag
# hack to remove the old socket, which implementation of toolbag doesn't
# currently delete
ExecStartPre=/bin/rm -vf /run/toolbag/sock
ExecStart=/usr/local/bin/toolbag -fcgi -unix /run/toolbag/sock \
                                 -figlet:template templates/figlet.html -figlet:tcp execd:4000 \
                                 -notfound:template templates/notfound.html -notfound:dir notfound-img \
                                 -tools:template templates/tools.html -tools:source https://code.austinjadams.com/toolbag/tree/tools/

[Install]
WantedBy=multi-user.target