feat: service files
This commit is contained in:
parent
f3fbb4c77f
commit
1b7b78d9ca
2 changed files with 28 additions and 0 deletions
16
service/systemd
Normal file
16
service/systemd
Normal file
|
@ -0,0 +1,16 @@
|
|||
# set the flags you'd like to use in ExecStart
|
||||
# $ mv ./systemd /etc/systemd/system/feuille.service
|
||||
# $ systemctl daemon-reload
|
||||
# $ systemctl enable feuille
|
||||
# $ systemctl start feuille
|
||||
|
||||
[Unit]
|
||||
Description=Feuille - a fast, dead-simple socket-based pastebin
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/local/bin/feuille -U https://my.paste.bin
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in a new issue