First commit with entire first rendition of the project
This commit is contained in:
16
systemd/spectra.service
Normal file
16
systemd/spectra.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Spectra Unsplash Image Display
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStartPre=/usr/bin/mkdir -p /var/cache/spectra/uploads
|
||||
ExecStart=/usr/local/bin/spectra
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user