87 lines
No EOL
1.1 KiB
Text
87 lines
No EOL
1.1 KiB
Text
# Services
|
|
|
|
## Tiny Tiny RSS
|
|
|
|
### Démarrer le service
|
|
|
|
Dans un tmux ou screen?
|
|
|
|
~~~
|
|
# sudo -iu rss
|
|
$ cd www
|
|
$ php update_daemon2.php
|
|
~~~
|
|
|
|
### Unité systemd
|
|
|
|
~~~
|
|
[Unit]
|
|
Description=Tiny Tiny RSS.
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=rss
|
|
WorkingDirectory=/home/rss/www
|
|
ExecStart=/usr/bin/php /home/rss/www/update_daemon2.php
|
|
Type=simple
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
~~~
|
|
|
|
## GED Mayan EDMS
|
|
### Démarrer le service
|
|
|
|
Dans un tmux ou screen.
|
|
|
|
~~~
|
|
# sudo -iu ged
|
|
$ source venv/bin/activate
|
|
$ mayan-edms.py runserver&disown
|
|
## Détacher screen/tmux…
|
|
~~~
|
|
|
|
### Unité systemd
|
|
|
|
~~~
|
|
[Unit]
|
|
Description=GED Mayan EDMS.
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=ged
|
|
WorkingDirectory=/home/ged
|
|
ExecStart=/home/ged/venv/bin/mayan-edms.py runserver
|
|
Type=simple
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
~~~
|
|
|
|
## Wiki GitIT
|
|
### Démarrer le service
|
|
|
|
Dans un tmux ou screen.
|
|
|
|
~~~
|
|
# sudo -iu wiki
|
|
$ gitit -f my.Conf
|
|
## Détacher le screen/tmux…
|
|
~~~
|
|
|
|
### Unité systemd
|
|
|
|
~~~
|
|
[Unit]
|
|
Description=gitit wiki.
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=wiki
|
|
WorkingDirectory=/home/wiki
|
|
ExecStart=/home/wiki/.cabal/bin/gitit -f /home/wiki/my.conf
|
|
Type=simple
|
|
|
|
[Install]
|
|
WantedBy=default.target
|
|
~~~ |