diff --git a/pyshop.sample.service b/pyshop.sample.service new file mode 100644 index 0000000..2307c6d --- /dev/null +++ b/pyshop.sample.service @@ -0,0 +1,11 @@ +[Unit] +Description=Pyshop +After=multi-user.target + +[Service] +WorkingDirectory=/srv/pyshop +ExecStart=/srv/pyshop/bin/python ./bin/pserve pyshop.ini +ExecStop= + +[Install] +WantedBy=multi-user.target