randy/randy.service

16 lines
353 B
SYSTEMD
Raw Normal View History

2017-02-24 19:25:47 +00:00
[Unit]
Description=Tanshu's Random Image Server
After=multi-user.target
[Service]
Type=simple
Restart=always
ExecStart=/home/tanshu/Programming/randy/env/bin/pserve production.ini
User=tanshu
WorkingDirectory=/home/tanshu/Programming/randy
ExecStop=/usr/bin/pkill -f /home/tanshu/Programming/randy/env/bin/pserve
[Install]
WantedBy=multi-user.target