Add picapport
This commit is contained in:
parent
51e86e6b36
commit
6c4f22d566
11 changed files with 147 additions and 0 deletions
4
ressources/picapport/rootfs/usr/bin/picapport
Executable file
4
ressources/picapport/rootfs/usr/bin/picapport
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
source /etc/default/picapport
|
||||
|
||||
/usr/bin/java ${JAVA_ARGS} -jar /usr/lib/picapport/picapport-headless.jar ${PICAPPORT_CONF}
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=self-hosting photo server with photo management
|
||||
After=multi-user.target
|
||||
|
||||
[Service]
|
||||
User=picapport
|
||||
Group=picapport
|
||||
ExecStart=/usr/bin/picapport
|
||||
SyslogIdentifier=picapport
|
||||
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue