summarylogtreecommitdiffstats
path: root/mediagoblin-paster.service
blob: f640375e67b8b1ca599b97d56f0fcc6846f67b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=Mediagoblin
 
[Service]
Type=simple
WorkingDirectory=/usr/share/webapps/mediagoblin
User=mediagoblin
Group=mediagoblin
ExecStart=/usr/share/webapps/mediagoblin/bin/paster serve \
             /usr/share/webapps/mediagoblin/paste_local.ini \
             --pid-file=/var/run/mediagoblin/mediagoblin.pid \
             --log-file=/var/log/mediagoblin/mediagoblin.log
ExecStop=/usr/share/webapps/mediagoblin/bin/paster serve \
            --pid-file=/var/run/mediagoblin/mediagoblin.pid \
            /usr/share/webapps/mediagoblin/paste_local.ini stop
PIDFile=/var/run/mediagoblin/mediagoblin.pid

[Install]
WantedBy=multi-user.target