randy/randy.service
2017-02-25 00:55:47 +05:30

16 lines
353 B
Desktop File

[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