diff options
author | Stanislas H.B. Sodonon | 2015-06-08 11:32:35 +0100 |
---|---|---|
committer | Stanislas H.B. Sodonon | 2015-06-08 11:32:35 +0100 |
commit | 590fae2a56125d98ec66d707499a9e5d96306f50 (patch) | |
tree | 1411dfb7f0c3b7157450469b3a0b7d54bef7f37f /odoo.service | |
download | aur-590fae2a56125d98ec66d707499a9e5d96306f50.tar.gz |
Initial New aur commit
Diffstat (limited to 'odoo.service')
-rw-r--r-- | odoo.service | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/odoo.service b/odoo.service new file mode 100644 index 000000000000..787e5955e331 --- /dev/null +++ b/odoo.service @@ -0,0 +1,20 @@ +[Unit] +Description=Advanced OpenSource ERP and CRM server +Requires=postgresql.service +After=postgresql.service + + +[Service] +Type=simple +PermissionsStartOnly=true +EnvironmentFile=-/etc/conf.d/odoo +User=odoo +Group=odoo +SyslogIdentifier=Odoo +PIDFile=/run/odoo/odoo.pid +ExecStartPre=/usr/bin/install -d -m755 -o odoo -g odoo /run/odoo +ExecStart=/usr/bin/odoo.py -c $ODOO_CONF --pidfile=/run/odoo/odoo.pid $ODOO_ARGS +ExecStop=/bin/kill $MAINPID + +[Install] +WantedBy=multi-user.target |