Added old armadietto and upnp services
This commit is contained in:
parent
28c79247c8
commit
99f8c8ce0d
14
armadietto.service
Normal file
14
armadietto.service
Normal file
@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=remoteStorage server
|
||||
After=local-fs.target
|
||||
StartLimitIntervalSec=0
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
User=armadietto
|
||||
ExecStart=/usr/local/bin/armadietto -c /usr/share/armadietto/config.json
|
||||
|
||||
[Install]
|
||||
WantedBy=basic.target
|
13
upnp.service
Normal file
13
upnp.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Upnp service
|
||||
After=yunohost-firewall.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/yunohost firewall upnp enable
|
||||
ExecStop=/usr/bin/yunohost firewall upnp disable
|
||||
ExecReload=/usr/bin/yunohost firewall upnp reload
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user