add debian building. add asset compile and embedding. other fixes.
This commit is contained in:
16
debian/ROOT/lib/systemd/system/sour.is-paste.service
vendored
Normal file
16
debian/ROOT/lib/systemd/system/sour.is-paste.service
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=sour.is paste API
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=www-data
|
||||
WorkingDirectory=/opt/sour.is/
|
||||
ExecStart=/opt/sour.is/bin/paste serve
|
||||
|
||||
Restart=always
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user