Initial Commit
This commit is contained in:
15
randy.service
Normal file
15
randy.service
Normal file
@ -0,0 +1,15 @@
|
||||
[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
|
||||
|
||||
Reference in New Issue
Block a user